package work.parabola.keyboardswitch.dao;

import org.apache.ibatis.annotations.Param;
import work.parabola.keyboardswitch.pojo.repository.PlateCellDo;

import java.util.List;

public interface PlateCellDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlateCellDo record);

    int insertSelective(PlateCellDo record);

    PlateCellDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlateCellDo record);

    int updateByPrimaryKey(PlateCellDo record);

    int updateByPlateIdSequenceId(PlateCellDo record);

    int insertBatch(@Param("list") List<PlateCellDo> list);

    int deleteByPlateId(Integer plateId);

    List<PlateCellDo> selectByPlateId(Integer plateId);
}